package com.jmb.api.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jmb.api.model.entity.DataFactory;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jmb.api.model.to.Factory.DataFactoryTO;
import com.jmb.api.model.vo.Factory.DataFactoryVO;

/**
* @author jinbo
* @description 针对表【data_factory】的数据库操作Service
* @createDate 2025-04-08 13:53:56
*/
public interface DataFactoryService extends IService<DataFactory> {

    void saveDataFactory(DataFactory dataFactoryDO) ;

    void modifyDataFactory(DataFactory dataFactoryDO);

    void removeDataFactoryById(Integer id);

    DataFactoryVO findDataFactoryById(Integer id);

    IPage<DataFactoryVO> findDataFactoryList(IPage<DataFactoryVO> page,DataFactoryTO dataFactoryDTO);

    long executeDataFactory(Integer id, String executor) ;

}
